home *** CD-ROM | disk | FTP | other *** search
/ Our World is a Playground 3 / 0_firefly3.iso / pc / files / open.dxr / 00096_stop button.ls < prev    next >
Encoding:
Text File  |  1996-08-17  |  463 b   |  17 lines

  1. on mouseDown
  2.   global gTransPath
  3.   puppetSound(0)
  4.   set buttonUp to the castNum of sprite the clickOn
  5.   set buttonDown to buttonUp + 1
  6.   set the castNum of sprite the clickOn to the number of member buttonDown
  7.   puppetSound("mouse down")
  8.   updateStage()
  9.   wait(0.5, 0)
  10.   set the castNum of sprite the clickOn to the number of member buttonUp
  11.   puppetSound("mouse up")
  12.   updateStage()
  13.   unLoad()
  14.   sound playFile 1, gTransPath & "LPTheme.aif"
  15.   go(1, "close")
  16. end
  17.